package com.zhongjian.technologycal.mall.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zhongjian.technologycal.mall.interfacemall.OnEmptyViewListener;


/**
 * Created by wei on 2017/10/24.
 * 为listView为空时写一个公共的类
 *
 */

public class EmptyView extends RelativeLayout {
    private OnEmptyViewListener mOnEmptyViewListener;
    private TextView mEmptyTv;
    public EmptyView(Context context){
        super(context);
    }

    public EmptyView(Context context, AttributeSet attrs){
        super(context,attrs);

    }

    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();



    }
    public void setOnEmptyViewListener(OnEmptyViewListener listener){
        this.mOnEmptyViewListener = listener;
    }
}
